#pragma once

#include "includeFTLib.h"

class CAveragingPerformanceDataStore : public FTLib::IPerformanceDataStore
{
private:
	std::map<std::wstring, std::tuple<int, double>> keyVal;
public:
	void EnumeratePerformanceData(std::function<bool(const std::wstring&, double sum, int count)> func);
	bool isEmpty() const;
public:
	virtual void AddPerformanceData(const wchar_t* szwDescription, double elapsedTime);
};